<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<link rel="shortcut icon" type="image/x-icon" href="/Public/Home/Support/images/icon_120.ico" media="screen" /> 
<meta name="description" content="E-MBA云 2015年你有啥梦想。梦想是可以有的，万一实现了呢" />
<meta name="keywords" content="E-MBA云" />
<title>2015你有啥梦想？　　　　　　　　　　　　　　　__梦想是要有的，万一实现了呢？你怎么看？</title>
<link rel="stylesheet" type="text/css" href="/Public/Home/Support/css/layout.css" media="all" />
<script type="text/javascript" src="/Public/Home/Support/js/jquery-1.7.2.min.js"></script>

<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
<!-- Mobile Devices Support @begin -->
<meta content="application/xhtml+xml;charset=UTF-8" http-equiv="Content-Type">
<meta content="no-cache,must-revalidate" http-equiv="Cache-Control">
<meta content="no-cache" http-equiv="pragma">
<meta content="0" http-equiv="expires">
<meta content="telephone=no, address=no" name="format-detection">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<meta name="apple-mobile-web-app-capable" content="yes" />
<!-- apple devices fullscreen -->
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<!-- Mobile Devices Support @end -->
</head>
<body class="body">
    <div class="dream_banner">
    	 <img src="/Public/Home/Support/images/banner1.jpg"/>
    </div>	
    <div class="list_box" id="list_content">
    	<ul class="headline">
        	<p>梦想排行</p>        
        </ul>
        <div id = "list_1">
        	<!-- 列表 -->
        </div></div>
    <div class="lots_kongbai"><a id="more" htef="#" onclick="supporterList();return false;">点击加载更多>></a>&nbsp;</div>
    <input type="hidden" value="1" id="page">
    <input type="hidden" value="1" id="more">
    <div class="footer">
		<?php if(($add_show) == "1"): ?><!-- /Support/index?id=<?php echo ($own_dream_id); ?>&dream_user_id=<?php echo ($dream_user_id); ?> -->
		<a href="#" onclick="seeDream('<?php echo ($own_dream_id); ?>');return false;">查看我的梦想<!-- 每人只能发布一个梦想哦 --></a>
		<?php else: ?>
    	<a href="#" onclick="hrefLogin('<?php echo ($vo["user_id"]); ?>')">我也说一个</a><?php endif; ?>
    </div>
    
</body>
</html>
<script type="text/javascript">
	function hrefLogin(){
		$("#page").val(1);
		var dream_user_id = "<?php echo ($dream_user_id); ?>";
		window.location.href = "/Index/addDream?para1="+dream_user_id;
    	return false;
	}
	$(function($) {
		supporterList();
	});

	function supporterList(){
		var p = $("#page").val();
		var dream_id = "<?php echo ($_GET['dream_id']); ?>";
		var dream_user_id = "<?php echo ($dream_user_id); ?>";
		$("#list_"+p).load("/Index/dreamList?p="+p+"&dream_id="+dream_id+"&para1="+"&random="+Math.random(),{},function(){
			p = $("#page").val();
			$("#list_content").append('<div id = "list_'+p+'"></div>');
		});
	}
	function seeDream(dream_id){
		var dream_user_id = "<?php echo ($dream_user_id); ?>";
		window.location.href = "/Index/Index?para1="+dream_user_id+"&dream_id="+dream_id;
		return false;
		
	}
	function hrefDream(user_id){
		$("#page").val(1);
		var dream_user_id = "<?php echo ($dream_user_id); ?>";
		window.location.href = "/Support/index?id="+user_id+"&para1="+dream_user_id;
    	return false;
	}
</script>